package ${viewModule.viewPacking}.service.impl;

import ${viewModule.viewPacking}.entity.${entityName};
import ${viewModule.viewPacking}.mapper.${entityName}Mapper;
import ${viewModule.viewPacking}.service.I${entityName}Service;
import org.springframework.stereotype.Service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;


@Service
public class ${entityName}ServiceImpl extends ServiceImpl<${entityName}Mapper, ${entityName}> implements I${entityName}Service {

    @Autowired
    private ${entityName}Mapper ${entityName?uncap_first}Mapper;

    @Override
    public List<${entityName}> selectByMainId(String mainId) {
        return ${entityName?uncap_first}Mapper.selectByMainId(mainId);
    }
}
